package de.thw.web.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.StyleDAO;
import de.thw.web.model.Style;

@Repository("StyleDAO")
@Transactional
public class StyleDAOImpl extends AbstractDAOImpl<Style> implements StyleDAO {

	public Style load(String uid) {
		return super.load(Style.class, uid);
	};

	public List<Style> getAll() {
		return super.getAll("Style");
	};

};